package com.ruoyi.prod.entity.query;

import com.ruoyi.prod.enums.PurchaseState;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @author BaiBan
 * @since 2023/2/18
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ProdPurchaseCondition extends BaseCondition {
    @ApiModelProperty("采购计划编号")
    private String id;

    @ApiModelProperty("资产原值")
    private BigDecimal price;

    @ApiModelProperty("使用年限")
    private Integer useLife;

    @ApiModelProperty("残值率")
    private BigDecimal valueRate;

    @ApiModelProperty("已购置数量")
    private Integer finishNumber;

    @ApiModelProperty("采购状态")
    private PurchaseState purchaseState;
}
